package org.dromara.basic.domain.vo;

import org.dromara.basic.domain.TeachClass;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.translation.annotation.Translation;
import org.dromara.common.translation.constant.TransConstant;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 教学班级视图对象 phy_basic_teach_class
 *
 * @author chl
 * @date 2024-09-10
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TeachClass.class)
public class TeachClassVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *主键
     */
//    @ExcelProperty(value = "主键")
    private Long classId;

    @ExcelProperty(value = "序号")
    private Integer index;

    /**
     *班级名称
     */
    @ExcelProperty(value = "班级名称")
    private String className;

    /**
     *行政班级名称
     */
    @ExcelProperty(value = "行政班级")
    @Translation(type = TransConstant.DEPT_ID_TO_NAME, mapper = "deptId")
    private String deptName;
    /**
     *行政班级id
     */

    private String deptId;

    /**
     *年份
     */
    @ExcelProperty(value = "年级")
    private String grade;

    /**
     *人数
     */
    @ExcelProperty(value = "人数")
    private Long headcount;

    /**
     *班主任id
     */
    private String teacherId;
    /**
     *班主任
     */
    @ExcelProperty(value = "班主任")
    @Translation(type = TransConstant.USER_ID_TO_NICKNAME, mapper = "teacherId")
    private String teacherName;

    @ExcelProperty(value = "创建时间")
    private Date createTime;

    private String tenantId;


}
